package com.candoit.webapps.pricing.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "materiasprimas_articulos")
public class MateriaPrimaArticulo implements Serializable {

	private static final long serialVersionUID = -6969401848176893841L;
	
	@EmbeddedId
	private MateriaPrimaArticuloFK mpArticuloFK;
	
	@Column(name = "consumo")
	private Double consummo = 0.00d;

	public MateriaPrimaArticuloFK getMpArticuloFK() {
		return mpArticuloFK;
	}

	public void setMpArticuloFK(MateriaPrimaArticuloFK mpArticuloFK) {
		this.mpArticuloFK = mpArticuloFK;
	}

	public Double getConsummo() {
		return consummo;
	}

	public void setConsummo(Double consummo) {
		this.consummo = consummo;
	}
	
	
}
